<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<form action="{:U('Article/demo1')}" method="post">
	<!-- 加载编辑器的容器 -->
	<!-- 这里的name值是提交到服务器的下标 -->
    <script id="container" name="content" type="text/plain">
        这里写你的初始化内容
    </script>

    <input type="text" name="title" value="">  
    <img file="" name="file" value=""> <img> 
	<button>提交</button>
    </form>
    <!-- 配置文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var ue = UE.getEditor('container', {
        	// toolbars:工具栏的图标，具体参照 http://fex.baidu.com/ueditor/#start-toolbar
        	toolbars: [
			    ['fullscreen', 'source', 'undo', 'redo', 'bold','map','insertorderedlist'],
			    ['time','date','simpleupload','insertimage','edittable','edittd']
			]
        });
    </script>
</body>
</html>